package com.itheima;

import com.example.HeaderParser;
import com.example.TokenParser;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ApplicationContext;

@SpringBootTest
public class SpringBootTest3 {
    @Autowired
    private ApplicationContext context;


    @Autowired
    private TokenParser parser;

    @Autowired
    private HeaderParser headerParser;

    @Test
    public void test1() {
        parser.parse();
        headerParser.parse();
    }
}
